Repository navigation
fix: keep unsaved work, render with the installed FFmpeg, and harden Windows launches - #19
Merged
Merged
Conversation
…loses Open, New, Close Project, Open Recent, templates and the demo project now offer Save, Don't Save or Cancel when the project has unsaved changes, as the demo did already. Closing the desktop window and Quit ask the same before the engine stops.
new, open, close and demo replace the project and clear its undo history, so they now refuse while it has unsaved changes unless discard is true. A default render output no longer replaces an earlier render of a composition with the same name.
Movie renders pick libx264 or libx265 when present and otherwise a platform encoder (VideoToolbox, Media Foundation, OpenH264, NVENC, QSV, AMF), so the LGPL FFmpeg build renders the default format. Encoder names match whole words. A render never writes over footage the project uses.
…nterpreter Edit Original starts explorer with the quoted path, so a file name with & or ^ stays one file name.
… and engines Auto-save copies in a shared folder carry a tag from the project id, so same-named and untitled projects no longer number or prune each other's copies. Recent lists are re-read before each change and written in one step, and Live Link engines no longer add to them.
An npm style shim is followed to the node script or program it starts. Any other .cmd or .bat refuses words cmd.exe would misread: control characters, percent signs, quote marks, and & | < > ^ ( ) ! in a word that is not quoted. Shared finder 1.0.2.
…quoting intact A .cmd or .bat named with another case, trailing dots or spaces, or a stream suffix goes through the same checks. When the program's own path needs quotes, cmd /c drops the outer quote marks, so then no word may need quotes or carry a command interpreter character.
Commands that replace the open project, run through execute or inside a batch, refuse while it has unsaved changes unless discard is true.
…it Original to media A render output is matched against every footage, sequence frame and proxy file the project uses by device and inode (by the resolved path, ignoring case, on Windows), so a link, a case change or a .. step finds the same file. Image sequence frames are checked as they are written. Edit Original declines program and script files.
…e argument When a .cmd or .bat still has to start through cmd.exe, any argument with & | < > ^ ( ) ! % a quote mark or a control character is refused, with or without spaces, and the message points to standard input or a file for long text. The program path takes ( ) only when quoted. npm style shims keep starting their script or program directly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tests
For the owner
How to ship